package homework;

public class StaticMethod {
    int a;
    static int b;
    void say(){
        System.out.println(a);
    }
    static int plus(int a, int b){
        return a+b;
    }
    void show(){
        System.out.println(a);
        System.out.println(b); //StaticMethod.b
    }

    static void test(){
       // System.out.println(a); 编译错误
        System.out.println(b); //StaticMethod.b
    }
}
